package com.zhuo.project.order.mapper;

import java.util.List;
import com.zhuo.project.order.domain.ZzDiagnoseSend;

/**
 * 处方单发药明细Mapper接口
 * 
 * @author zhuo
 * @date 2020-03-26
 */
public interface ZzDiagnoseSendMapper 
{
    /**
     * 查询处方单发药明细
     * 
     * @param id 处方单发药明细ID
     * @return 处方单发药明细
     */
    public ZzDiagnoseSend selectZzDiagnoseSendById(Long id);

    /**
     * 发药单号获取仓库信息
     * @param sendId
     * @return
     */
    public List<ZzDiagnoseSend> selectZzDiagnoseSendBySendId(String sendId);



    /**
     * 查询处方单发药明细列表
     * 
     * @param zzDiagnoseSend 处方单发药明细
     * @return 处方单发药明细集合
     */
    public List<ZzDiagnoseSend> selectZzDiagnoseSendList(ZzDiagnoseSend zzDiagnoseSend);

    /**
     *
     * @param diagnoseId
     * @return
     */
    public List<ZzDiagnoseSend> selectZzDiagnoseSendListByDiagnoseId(String diagnoseId);

    /**
     * 新增处方单发药明细
     * 
     * @param zzDiagnoseSend 处方单发药明细
     * @return 结果
     */
    public int insertZzDiagnoseSend(ZzDiagnoseSend zzDiagnoseSend);

    /**
     * 修改处方单发药明细
     * 
     * @param zzDiagnoseSend 处方单发药明细
     * @return 结果
     */
    public int updateZzDiagnoseSend(ZzDiagnoseSend zzDiagnoseSend);

    /**
     * 删除处方单发药明细
     * 
     * @param id 处方单发药明细ID
     * @return 结果
     */
    public int deleteZzDiagnoseSendById(Long id);

    /**
     * 批量删除处方单发药明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZzDiagnoseSendByIds(Long[] ids);
}
